package io.io3.prac;

import java.io.*;

public class BRDemo {
    public static void main(String[] args) throws IOException{
        FileInputStream fileInputStream = new FileInputStream("yjpy.txt");
        InputStreamReader inputStreamReader = new InputStreamReader(fileInputStream);
        BufferedReader bufferedWriter = new BufferedReader(inputStreamReader);
        String line;
        if ((line=bufferedWriter.readLine())!=null){
            System.out.println(line);
        }

        bufferedWriter.close();

    }
}
